home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
008
/
graphc.lqr
/
graphc.lbr
/
graph.doc
< prev
next >
Wrap
Text File
|
2011-01-31
|
2KB
|
67 lines
********************** GRAPH.DOC ***************************
Programs written by Max R. Dürsteler in december 1983.
Copyrights are strictly limited to non-commercial use.
The subroutines are written to interface with the Lattice/
Microsoft Compiler version 2.00. Assembly should be done
with the IBM Macroassembler.
Many of the graphic subroutines are implementation of
algorithm found in 'Computer Graphics' by Steven Harrington,
Mc-Graw-Hill Book comp. 1983, ISBN 0-07-026751-0.
Contents:
---------
color.exe Utility program to set forground, background
and border color from PC-DOS.
Resets screen to 25x80 color textmode.
For short instructions type 'color <CR>'.
graph.c Source file for graphics subroutine excluding
routines for polygons and polygon painting.
poly.c Source file for polygon graphic routines including
painting (=filling) algorithmus.
graph.h Header file for use with graphics subroutines
inside the graphics library 'lgs.lib'
tst*.c Different programs to exercise most of the graphic
routines.
_screen.asm Subroutine to set graphics/text modes both in
IBM and Plantronics Color Cards by using
the IBM BIOS interrupt #10 (AH = 0).
_dot.asm Subroutine to set point by using the IBM BIOS
interrupt #10 (AH = 12).
clear.asm Subroutine to clear the video display memory in
the Plantronics Colorplus Card.
pageset.asm Subroutine to set active display page (textmode
only).
scrollup.asm Subroutine to scroll a rectangular part of the
display in textmode upwards and fill the lines
at the bottom with a blank character.
lgs.lib Graphics library with function screen(), dot(),
clear(), doline(), dochar(), dosymbol(), moveabs2(),
moverel2(), setcolor(), setbackg() and many more.
lgm.lib Mathematical/ trigonometric function library
math.c Source for math. function
math.h Header file for math. subroutines.
To link use
link c+foo,foo,,lgs+lcs
or, if mathematical functions are needed
link c+foo,foo,,lgs+lms+lcs
with Lattice - C - Compiler Version 2.0
****************************mrd********************************